<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page import="java.util.Date"%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include.inc.jsp"%>
<head>
	<title>主菜单</title>
	<style type="text/css">
	#header{height:85px}
	#leftside, #container, #splitBar, #splitBarProxy{top:90px}
	</style>

</head>
<body scroll="no">
<div id="layout">
<div id="header">
		<div class="headerNav">
			<a class="logo" href="${ctx}/menu">Logo</a>
			<ul class="nav">
				<li><a href="${ctx}/menu">主页</a></li>
				<li><a href="${ctx}/menu/updateBase"
					target="dialog" mask="true">修改用户信息</a></li>
				<li><a href="${ctx}/menu/updatePwd"
					target="dialog" mask="true" width="550" height="200">修改密码</a></li>
				<li><a href="${ctx}/logout">退出</a></li>
			</ul>
		
			<ul class="themeList" id="themeList">
				<li theme="default"><div class="selected">blue</div></li>
				<li theme="green"><div>green</div></li>
				<li theme="purple"><div>purple</div></li>
				<li theme="silver"><div>silver</div></li>
				<li theme="azure"><div>天蓝</div></li>
			</ul>
		</div>
		<div id="navMenu">
				<ul>
				<c:forEach var="level1" items="${menuModule.children }" varStatus="status">
				<c:choose>
				<c:when test="${status.index==0}">
					<li class="selected"><a href="${ctx}/menu/switchEnv/${level1.id}" target="ajax"  id="firstnav"><span>${level1.strName }</span></a></li>
				</c:when>
				<c:otherwise>
					<li class=""><a href="${ctx}/menu/switchEnv/${level1.id}" target="ajax" rel="navId"><span>${level1.strName }</span></a></li>
				</c:otherwise>
				</c:choose>
				
				</c:forEach>
				</ul>
			</div>
			</div>
			
	<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>控制板</h2>
					<div>收缩</div>
				</div>
				 <div id="navId" class="accordion" fillSpace="sideBar" fresh="true">
				</div> 
				
			</div>
		</div>
	<div id="container">
		<div id="navTab" class="tabsPage">
			<div class="tabsPageHeader">
				<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
					<ul class="navTab-tab">
						<li tabid="main" class="main"><a href="javascript:void(0)"><span><span class="home_icon">主页</span></span></a></li>
					</ul>
				</div>
				<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
				<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
				<div class="tabsMore">more</div>
			</div>
			<ul class="tabsMoreList">
				<li><a href="javascript:void(0)">主页</a></li>
			</ul>
			<div class="navTab-panel tabsPageContent layoutBox">
				<div class="page unitBox">
					<div class="accountInfo">
						<div class="right">
							<p><fmt:formatDate value="<%=new Date() %>" pattern="yyyy-MM-dd EEEE"/></p>
						</div>
						<p><span>欢迎, ${user.strAccount } .</span></p>
					</div>
					<div class="pageFormContent" layoutH="80">
						<fieldset>
							<legend>基本信息</legend>
							<dl>
								<dt>登录名称：</dt>
								<dd><span class="unit">${user.strAccount }</span></dd>
							</dl>
							<dl>
								<dt>真实名字：</dt>
								<dd><span class="unit">${user.strName }</span></dd>
							</dl>							
							<dl>
								<dt>电话：</dt>
								<dd><span class="unit">${user.strPhone }</span></dd>
							</dl>							
							<dl>
								<dt>E-Mail：</dt>
								<dd><span class="unit">${user.strEmail }</span></dd>
							</dl>
							<dl>
								<dt>创建时间：</dt>
								<dd><span class="unit"><fmt:formatDate value="${user.createDateTime}" pattern="yyyy-MM-dd HH:mm:ss"/></span></dd>
							</dl>
							<dl>
								<dt>可用状态：</dt>
								<dd><span class="unit">${user.strStatus == "enabled" ? "可用":"不可用"}</span></dd>
							</dl>
							<dl>
								<dt>所属机构：</dt>
								<dd><span class="unit">${user.dept.strName}</span></dd>
							</dl>																														
						</fieldset>
						
											
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div id="xx"></div>
</body>
</html>
